<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        form{
            background-color: #FC6;
            border-style:solid;
            border-color:darkgrey;
            width: 250px;
            height: 200px;
        }
        input{border-style:solid;border-color:darkgrey;} /* 未访问的链接 */
        select{border-style:solid;border-color:darkgrey;}
        input:hover {border-style:solid;border-color:orange;}
        select:hover {border-style:solid;border-color:orange;}
        label{
            font-weight: bold;
        }
    </style>
</head>
<body>
    <form action="">
     <label>用户名：</label><input type="text" name="yhm">
     <br>
     <label>密 &nbsp;&nbsp;码：</label><input type="password" name="mm"><br>
     <label>性  别：</label><input type="radio" name="sex" value="male"><img src="D:\vc\yvc\male.gif" alt="">
     <input type="radio" name="sex" value="female"><img src="D:\vc\yvc\female.gif" alt="">
     <br>
     <label>爱  好：</label><input type="checkbox" name="yd" id="">运动<input type="checkbox" name="lt" id="">聊天
     <input type="checkbox" name="yx" id="">游戏
     <br>
     <label>职  业：</label><select name="work" id="">
        <option value="student">学生</option>
        <option value="teacher">老师</option>
     </select>
     <br>
     <br>
     <input type="submit" name="tj">
    <input type="reset" name="qk" >
    </form>
</body>
</html>